# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'dialog_login.ui'
#
# Created: Thu Oct 20 08:26:54 2011
#      by: PyQt4 UI code generator 4.8.5
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui__Dialog_login(object):
    def setupUi(self, _Dialog_login):
        _Dialog_login.setObjectName(_fromUtf8("_Dialog_login"))
        _Dialog_login.resize(544, 305)
        _Dialog_login.setWindowTitle(QtGui.QApplication.translate("_Dialog_login", "Login to MyCF DataBase...", None, QtGui.QApplication.UnicodeUTF8))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/mcfLogo.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        _Dialog_login.setWindowIcon(icon)
        self.gridLayout_2 = QtGui.QGridLayout(_Dialog_login)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label__picture = QtGui.QLabel(_Dialog_login)
        self.label__picture.setMinimumSize(QtCore.QSize(120, 215))
        self.label__picture.setText(_fromUtf8(""))
        self.label__picture.setPixmap(QtGui.QPixmap(_fromUtf8(":/icons/mcfLogo.png")))
        self.label__picture.setObjectName(_fromUtf8("label__picture"))
        self.gridLayout.addWidget(self.label__picture, 0, 0, 6, 1)
        self.comboBox_name = QtGui.QComboBox(_Dialog_login)
        self.comboBox_name.setObjectName(_fromUtf8("comboBox_name"))
        self.gridLayout.addWidget(self.comboBox_name, 0, 1, 1, 3)
        self.label_host = QtGui.QLabel(_Dialog_login)
        self.label_host.setMaximumSize(QtCore.QSize(44, 33))
        self.label_host.setText(QtGui.QApplication.translate("_Dialog_login", "Host:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_host.setObjectName(_fromUtf8("label_host"))
        self.gridLayout.addWidget(self.label_host, 1, 1, 1, 1)
        self.lineEdit_host = QtGui.QLineEdit(_Dialog_login)
        self.lineEdit_host.setObjectName(_fromUtf8("lineEdit_host"))
        self.gridLayout.addWidget(self.lineEdit_host, 1, 2, 1, 2)
        self.label_user = QtGui.QLabel(_Dialog_login)
        self.label_user.setMaximumSize(QtCore.QSize(44, 33))
        self.label_user.setText(QtGui.QApplication.translate("_Dialog_login", "User:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_user.setObjectName(_fromUtf8("label_user"))
        self.gridLayout.addWidget(self.label_user, 2, 1, 1, 1)
        self.lineEdit_user = QtGui.QLineEdit(_Dialog_login)
        self.lineEdit_user.setObjectName(_fromUtf8("lineEdit_user"))
        self.gridLayout.addWidget(self.lineEdit_user, 2, 2, 1, 2)
        self.label_pwd = QtGui.QLabel(_Dialog_login)
        self.label_pwd.setMaximumSize(QtCore.QSize(90, 33))
        self.label_pwd.setText(QtGui.QApplication.translate("_Dialog_login", "Pass Word:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_pwd.setObjectName(_fromUtf8("label_pwd"))
        self.gridLayout.addWidget(self.label_pwd, 4, 1, 2, 1)
        self.lineEdit_pwd = QtGui.QLineEdit(_Dialog_login)
        self.lineEdit_pwd.setEchoMode(QtGui.QLineEdit.Password)
        self.lineEdit_pwd.setObjectName(_fromUtf8("lineEdit_pwd"))
        self.gridLayout.addWidget(self.lineEdit_pwd, 4, 2, 2, 2)
        self.buttonBox = QtGui.QDialogButtonBox(_Dialog_login)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())
        self.buttonBox.setSizePolicy(sizePolicy)
        self.buttonBox.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 5, 3, 1, 1)
        self.QCheckBox_access_mode = QtGui.QCheckBox(_Dialog_login)
        self.QCheckBox_access_mode.setText(QtGui.QApplication.translate("_Dialog_login", "MyCF database : \'Read only\' Mode", None, QtGui.QApplication.UnicodeUTF8))
        self.QCheckBox_access_mode.setObjectName(_fromUtf8("QCheckBox_access_mode"))
        self.gridLayout.addWidget(self.QCheckBox_access_mode, 3, 1, 1, 3)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
        self.label_host.setBuddy(self.lineEdit_host)
        self.label_user.setBuddy(self.lineEdit_user)
        self.label_pwd.setBuddy(self.lineEdit_pwd)

        self.retranslateUi(_Dialog_login)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), _Dialog_login.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), _Dialog_login.reject)
        QtCore.QMetaObject.connectSlotsByName(_Dialog_login)
        _Dialog_login.setTabOrder(self.comboBox_name, self.lineEdit_host)
        _Dialog_login.setTabOrder(self.lineEdit_host, self.lineEdit_user)
        _Dialog_login.setTabOrder(self.lineEdit_user, self.QCheckBox_access_mode)
        _Dialog_login.setTabOrder(self.QCheckBox_access_mode, self.lineEdit_pwd)
        _Dialog_login.setTabOrder(self.lineEdit_pwd, self.buttonBox)

    def retranslateUi(self, _Dialog_login):
        pass

import resources_rc
